from channels.routing import route
from danmu_app.consumers import danmu_ws_disconnect,danmu_ws_connect,danmu_ws_start
danmu_app_routing=[
    route("websocket.connect",danmu_ws_connect,path="^/danmu_resolution$"),
    route("websocket.disconnect",danmu_ws_disconnect,path="^/danmu_resolution$"),
    route("websocket.receive",danmu_ws_start,path="^/danmu_resolution$"),
]